package me.firstapp.repository.weixin.member;

import java.util.Date;
import java.util.Map;

import me.firstapp.common.utils.Page;
import me.firstapp.module.weixin.member.PaymentRecord;
import me.firstapp.repository.base.EntityRepository;

public interface PaymentRecordRepository extends EntityRepository<PaymentRecord> {

	PaymentRecord findByOrderNoAndOpenId(String orderNo, String openId);

	Page<PaymentRecord> findPaymentRecordPage(Integer pageNo, Integer pageSize, Map<String, Object> searchParams,
			String sortParam, String sortType, Date startTime, Date endTime);
}
